﻿//***********************************************************************
// * Module:   MsjZaYqbzAdd
// * 作者:  曹荣芝
// * Modified: 2013/5/29
// * Purpose: Definition of the Class MsjZaYqbzAdd
// ***********************************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using XWG;
using XWG.JWBST;
using XWG.JWBST.JWBSTEntity;
using XWG.JWBST.JWBSTBLL;
using XWG.JWBST.JWBSTSPConst;
using XWG.Framework.MSException;
using System.Data;
namespace JWBSTAPP
{
    public partial class MsjZaYqbzAdd : JWBSTAPP.CommonClass.PageBases
    {
        protected void Page_Load(object sender, EventArgs e)
        {

            if (!IsPostBack)
            {
                BindSelXb();
            }
        }
        protected void BindSelXb()
        {
            var list = XWG.JWBST.JWBSTBLL.TbBstFlfgBLL.GetDictionaryByCode("dogGender");
            selXb.DataSource = list;
            selXb.DataTextField = "Description";
            selXb.DataValueField = "Code";
            selXb.DataBind();
            selXb.Items.Insert(0, new ListItem("请选择犬性别", ""));
            selXb.Value = "";
        }
    }
}


